<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<link rel="alternate" type="application/atom+xml" href="/feeds/atom.xml" />
{% block seo %}<meta name="description" content="The O-Kay-Blog, a Google App Engine blog developed using the Kay Framework" />{% endblock %}
	<title>{% block title %}The O-Kay-Blog{% endblock %}</title>
	<link rel="stylesheet" href="http://yui.yahooapis.com/combo?2.8.1/build/reset-fonts-grids/reset-fonts-grids.css" type="text/css" />
	{{ compiled_css('style.css') }}
{% block head %}{% endblock %}	
</head>
<body>
<div id="doc4" class="yui-t4">
	<div id="hd" role="banner">
		<div class="block">
			<div class="hd">
				<h2><a href="/"><img src="/media/themes/buzzapp/img/ok_logo_tiny.jpeg" alt="Home" /></a> {{ config.blog_name|e }}</h2>
			</div>
			<div class="bd">
				<div id="nav-menu">
					<ul>
						<li><a href="/" >Home</a></li>
					</ul>	
				</div>	
			</div>	
		</div>
	</div>
	<div id="bd" role="main">
		<div id="yui-main">
			<div class="yui-b">
{% block body %}{% endblock %}
			</div>
		</div>
		<div id="sidebar" class="yui-b">
{% block sidebar %}<!-- sidebar -->
<!-- Sidebar block (same markup as basic block) -->
<div class="block">
    <div class="hd">
        <h2>Google Search</h2>
    </div>
    <div class="bd">
	    <form id="quick-search" action="/search" method="get">
	      <p>
	        <label for="q">Search:</label>
	        <input type="hidden" name="cref" value="http://{{config.host}}/cse.xml" />
	        <input type="hidden" name="cof" value="FORID:11" />
	        <input type="hidden" name="ie" value="UTF-8" />
	        <input class="tbox" type="text" id="q" name="q" size="21" />
	      </p>
	    </form>
		<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=quick-search&amp;lang=en"></script>					
     </div>	
</div>
<!-- Sidebars -->
{% for sidebar in config.sidebars %}
<div class="block">
    <div class="hd">
        <h2>{{sidebar[0]}}</h2>
    </div>
    <div class="bd">
          <ul>
			{% for entry in sidebar.1 %}
            <li><a href="{{entry[1]}}" title="{{entry[0]|e}}">{{entry[0]}}</a></li>
			{% endfor %}
          </ul>
    </div>
</div>
{% endfor %}

{% endblock %}				
		</div>	
	</div>	
   	<div id="ft">
	    <p>Copyright &copy; 2010 {{config.blog_name|e}}</p>
        <p><img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif" 
		alt="Powered by Google App Engine" /></p>
	</div>
</div>
{% if config.analytics_id %}
	 <script type="text/javascript">
	 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	 </script>
	 <script type="text/javascript">
	 try {
		 var pageTracker = _gat._getTracker("{{config.analytics_id}}");
		 pageTracker._trackPageview();
	 } catch(err) {}</script>
{% else %}
<!-- No tracking for dev mode -->
{% endif %}
</body>
</html>